Change in openvpn[master]: Improve documentation for override-username
A message that is not in the archive (sent off-list or not yet received): gerrit.1742821192000.Ifc7443974345042ab9945d6a10e1d1b4525e5e05@...2715...
Attention is currently required from: flichtenheld.
Hello flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/914?usp=email
to review the following change.
Change subject: Improve documentation for override-username
......................................................................
Improve documentation for override-username
- Mention that pushing auth-token-user only happens when OpenVPN also generates the auth-token.
- mention that OpenVPN will only accept the original and overridden username from a client
- suggest to use auth-token-user when a user generates the auth-token
---
M doc/man-sections/server-options.rst
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/14/914/1
doc/man-sections/server-options.rst +10 -1
@@ -432,7 +432,12 @@ The changed username will be picked up by the status output and also by the ``--auth-gen-token`` option. It will also be pushed to the client - using ``--auth-token-user``. + using ``--auth-token-user`` if ``--auth-gen-token`` is enabled. + + Internally on all subsequent renegotiations the client provided username + will be replaced by the username provided by ``--override-username``. + If the client changes to a username that is different from both the initial + and the overridden username, the client will be rejected. Special care should be taken that both the initial username of the client and the overridden username are handled correctly when using
@@ -444,6 +449,10 @@ can be used for ``--auth-gen-token`` to allow providing a username in these scenarios. + If the ``--auth-token`` directive is pushed by another script/plugin or + management interface, consider also generating and pushing + ``--auth-token-user``. + --port-share args Share OpenVPN TCP with another service
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/914?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc7443974345042ab9945d6a10e1d1b4525e5e05
Gerrit-Change-Number: 914
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/914?usp=email )
Change subject: Improve documentation for override-username
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/914?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc7443974345042ab9945d6a10e1d1b4525e5e05
Gerrit-Change-Number: 914
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Mon, 24 Mar 2025 13:36:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 Improve documentation for override-username
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
- Mention that pushing auth-token-user only happens when OpenVPN also generates the auth-token.
- mention that OpenVPN will only accept the original and overridden username from a client
- suggest to use auth-token-user when a user generates the auth-token
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/914
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
doc/man-sections/server-options.rst +10 -1
@@ -432,7 +432,12 @@ The changed username will be picked up by the status output and also by the ``--auth-gen-token`` option. It will also be pushed to the client - using ``--auth-token-user``. + using ``--auth-token-user`` if ``--auth-gen-token`` is enabled. + + Internally on all subsequent renegotiations the client provided username + will be replaced by the username provided by ``--override-username``. + If the client changes to a username that is different from both the initial + and the overridden username, the client will be rejected. Special care should be taken that both the initial username of the client and the overridden username are handled correctly when using
@@ -444,6 +449,10 @@ can be used for ``--auth-gen-token`` to allow providing a username in these scenarios. + If the ``--auth-token`` directive is pushed by another script/plugin or + management interface, consider also generating and pushing + ``--auth-token-user``. + --port-share args Share OpenVPN TCP with another service
[Openvpn-devel] [PATCH applied] Re: Improve documentation for override-username
Documentation-only, nothing to test. (Stared at the change nonetheless, as we had discussions on some of the behavioural details - change makes sense)
Your patch has been applied to the master branch.
commit 5c1c57684b6a1e6bce24605d55fe8dc3d9d3480e
Author: Arne Schwabe Date: Mon Mar 24 14:54:33 2025 +0100
Improve documentation for override-username
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31210.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/914?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: Improve documentation for override-username
......................................................................
Improve documentation for override-username
- Mention that pushing auth-token-user only happens when OpenVPN also generates the auth-token.
- mention that OpenVPN will only accept the original and overridden username from a client
- suggest to use auth-token-user when a user generates the auth-token
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31210.html
---
M doc/man-sections/server-options.rst
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/14/914/2
doc/man-sections/server-options.rst +10 -1
@@ -432,7 +432,12 @@ The changed username will be picked up by the status output and also by the ``--auth-gen-token`` option. It will also be pushed to the client - using ``--auth-token-user``. + using ``--auth-token-user`` if ``--auth-gen-token`` is enabled. + + Internally on all subsequent renegotiations the client provided username + will be replaced by the username provided by ``--override-username``. + If the client changes to a username that is different from both the initial + and the overridden username, the client will be rejected. Special care should be taken that both the initial username of the client and the overridden username are handled correctly when using
@@ -444,6 +449,10 @@ can be used for ``--auth-gen-token`` to allow providing a username in these scenarios. + If the ``--auth-token`` directive is pushed by another script/plugin or + management interface, consider also generating and pushing + ``--auth-token-user``. + --port-share args Share OpenVPN TCP with another service
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/914?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc7443974345042ab9945d6a10e1d1b4525e5e05
Gerrit-Change-Number: 914
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/914?usp=email )
Change subject: Improve documentation for override-username
......................................................................
Improve documentation for override-username
- Mention that pushing auth-token-user only happens when OpenVPN also generates the auth-token.
- mention that OpenVPN will only accept the original and overridden username from a client
- suggest to use auth-token-user when a user generates the auth-token
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31210.html
---
M doc/man-sections/server-options.rst
1 file changed, 10 insertions(+), 1 deletion(-)
doc/man-sections/server-options.rst +10 -1
@@ -432,7 +432,12 @@ The changed username will be picked up by the status output and also by the ``--auth-gen-token`` option. It will also be pushed to the client - using ``--auth-token-user``. + using ``--auth-token-user`` if ``--auth-gen-token`` is enabled. + + Internally on all subsequent renegotiations the client provided username + will be replaced by the username provided by ``--override-username``. + If the client changes to a username that is different from both the initial + and the overridden username, the client will be rejected. Special care should be taken that both the initial username of the client and the overridden username are handled correctly when using
@@ -444,6 +449,10 @@ can be used for ``--auth-gen-token`` to allow providing a username in these scenarios. + If the ``--auth-token`` directive is pushed by another script/plugin or + management interface, consider also generating and pushing + ``--auth-token-user``. + --port-share args Share OpenVPN TCP with another service
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/914?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifc7443974345042ab9945d6a10e1d1b4525e5e05
Gerrit-Change-Number: 914
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged